package com.lawyer.model;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.activerecord.Model;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * <p>
 * 律师基本信息
 * </p>
 *
 * @author D.Wzq
 * @since 2018-07-18
 */
@TableName("t_lawyer_info")
@Data
@AllArgsConstructor
@NoArgsConstructor
public class LawyerInfo extends Model<LawyerInfo> {

    private static final long serialVersionUID = 1L;

    /**
     * 律师标识
     */
	@TableId(value="lawyer_id", type= IdType.AUTO)
	private Long lawyerId;
    /**
     * 律师名称
     */
	private String lawyerName;
    /**
     * 律师登陆密码
     */
	private String lawyerPassword;
    /**
     * 律师邮箱
     */
	private String lawyerMaile;
    /**
     * 律师QQ
     */
	private String lawyerQq;
    /**
     * 律师所在地区
     */
	private String lawyerAddress;
    /**
     * 状态：0 锁定、 1 正常
     */
	private Integer status;
    /**
     * 是否删除 1:是 ： 0 否
     */
	private Integer isDelete;
    /**
     * 创建时间
     */
	@TableField("create_time")
	private Date createTime;
    /**
     * 更新时间
     */
	@TableField("update_time")
	private Date updateTime;

	public Long getLawyerId() {
		return lawyerId;
	}

	public void setLawyerId(Long lawyerId) {
		this.lawyerId = lawyerId;
	}

	public String getLawyerName() {
		return lawyerName;
	}

	public void setLawyerName(String lawyerName) {
		this.lawyerName = lawyerName;
	}

	public String getLawyerPassword() {
		return lawyerPassword;
	}

	public void setLawyerPassword(String lawyerPassword) {
		this.lawyerPassword = lawyerPassword;
	}

	public String getLawyerMaile() {
		return lawyerMaile;
	}

	public void setLawyerMaile(String lawyerMaile) {
		this.lawyerMaile = lawyerMaile;
	}

	public String getLawyerQq() {
		return lawyerQq;
	}

	public void setLawyerQq(String lawyerQq) {
		this.lawyerQq = lawyerQq;
	}

	public String getLawyerAddress() {
		return lawyerAddress;
	}

	public void setLawyerAddress(String lawyerAddress) {
		this.lawyerAddress = lawyerAddress;
	}

	public Integer getStatus() {
		return status;
	}

	public void setStatus(Integer status) {
		this.status = status;
	}

	public Integer getIsDelete() {
		return isDelete;
	}

	public void setIsDelete(Integer isDelete) {
		this.isDelete = isDelete;
	}

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public Date getUpdateTime() {
		return updateTime;
	}

	public void setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
	}

	@Override
	protected Serializable pkVal() {
		return this.lawyerId;
	}

}
